#{
form(:action => UserController.r(:edit_pass), :method => :post, :class => "vertical-form") do |f|
    f.legend "Modification du mot de passe"

	f.password "Mot de passe actuel", "old_pass"
	f.password "Nouveau mot de passe", "new_pass1"
	f.password "Confirmation", "new_pass2"

    f.submit "Valider"
end
}